package com.ldzy.dao;

import com.ldzy.domain.Book;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookMapper {
    @Select("select * from tb_book where id=#{id}")
    public Book findBookById(Integer id) ;
    @Select("select * from tb_book ")
    public List<Book> findAllBookBy();

}
